Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Java agent security permission.
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: ALL
Release: 8.5.3
Reproducible: Always

Hi.
I am about to make my first Java Agent to be run locally on Notes Client.
I have importet some java lib's, including Jackson JSON lib.
When i try to make a JSON representation of an Object Ordre (writeValueAsString()), i get this error:
org.codehaus.jackson.map.JsonMappingException: Can not access public java.lang.String dk.semaphor.test.Ordre.getAtt() (from class dk.semaphor.test.Ordre; failed to set access: Access denied (java.lang.reflect.ReflectPermission suppressAccessChecks)

If i run it in a local Eclipse, there is nothing wrong with the code, so i suspect the Security in the client to be the problem.

I've searched the net, but almost any surgestion points in the direction of agents deployed on a server, which is not the case here.

Hope somebody can help.

Regards
Sofus Albertsen


Feedback number WEBB929E6P created by ~Laura Froponethernivu on 11/21/2012

Status: Open
Comments:

Java agent security permission. (~Laura Froponet... 21.Nov.12)
. . Try to modify java.policy (~Ethan Cistooze... 22.Nov.12)
. . Change in java.policy worked for me... (~Dean Nimjumipu... 22.Nov.12)
. . . . suppressAccessChecks (~Ted Chuhipizen... 19.Jun.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS